
public class Timer {
int hour,minute,second;
public Timer(int h,int m,int s) {
	hour=h;
	minute=m;
	second=s;
	
}
void setTime(int h,int m,int s) {
	hour=h;
	minute=m;
	second=s;
	
}
void showTime() {
	System.out.println("现在时间:"+hour+"点"+minute+"分"+second+"秒");
}
public static void main(String [] args) {
	Timer t1=new Timer(10,11,12);
	t1.showTime();
}
}
